package com.iams.manage.mapper;

import java.util.List;

import com.iams.manage.domain.ArchiveDestroyApproval;
import com.iams.manage.domain.ArchiveFilingApproval;

/**
 * 归档申请Mapper接口
 *
 * @author LiuTao
 * @date 2025-03-26
 */
public interface ArchiveFilingApprovalMapper
{
    /**
     * 查询归档申请
     *
     * @param id 归档申请主键
     * @return 归档申请
     */
    public ArchiveFilingApproval selectArchiveFilingApprovalById(Long id);

    /**
     * 查询归档申请列表
     *
     * @param archiveFilingApproval 归档申请
     * @return 归档申请集合
     */
    public List<ArchiveFilingApproval> selectArchiveFilingApprovalList(ArchiveFilingApproval archiveFilingApproval);

    /**
     * 新增归档申请
     *
     * @param archiveFilingApproval 归档申请
     * @return 结果
     */
    public int insertArchiveFilingApproval(ArchiveFilingApproval archiveFilingApproval);

    /**
     * 修改归档申请
     *
     * @param archiveFilingApproval 归档申请
     * @return 结果
     */
    public int updateArchiveFilingApproval(ArchiveFilingApproval archiveFilingApproval);

    /**
     * 删除归档申请
     *
     * @param id 归档申请主键
     * @return 结果
     */
    public int deleteArchiveFilingApprovalById(Long id);

    /**
     * 批量删除归档申请
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteArchiveFilingApprovalByIds(Long[] ids);

    public ArchiveFilingApproval selectArchiveFilingApprovalByBusinessKey(String businessKey);

}
